package com.migration.model.olddb;

import jakarta.persistence.*;
import lombok.Data;
import java.io.Serializable;

/**
 * 步骤详情表 实体类
 * 表名：ra_step_detail
 * 自动生成的实体类
 */
@Data
@Entity
@Table(name = "ra_step_detail")
public class RaStepDetail implements Serializable {

    private static final long serialVersionUID = 1L;
    
    /**
     * 主键
     * 主键
     */
    @Id
    @Column(name = "id", nullable = false)
    private Long id;
    
    /**
     * 步骤主键
     */
    @Column(name = "step_id", nullable = false)
    private Long stepId;
    
    /**
     * 详细步骤名称
     */
    @Column(name = "child_step_name", length = 128)
    private String childStepName;
    
    /**
     * 排序号
     * 默认值: 0
     */
    @Column(name = "sort_no")
    private Integer sortNo;
    
    /**
     * 是否删除（0、否 1、是）
     * 默认值: 0
     */
    @Column(name = "is_del")
    private Byte isDel;
    
    /**
     * 租户主键
     */
    @Column(name = "tenant_id")
    private Integer tenantId;
    
    @Override
    public String toString() {
        return "RaStepDetail{" +
            "id=" + id +
            ", stepId=" + stepId +
            ", childStepName=" + childStepName +
            ", sortNo=" + sortNo +
            ", isDel=" + isDel +
            ", tenantId=" + tenantId +
        '}';
    }
} 